package com.woniuxy.exam.service;

import com.woniuxy.commons.entity.TrueOrFalse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@author zouyang
@date 2020/7/25 - 17:03
*/
public interface TrueOrFalseService{

    List<TrueOrFalse> selectAll();

    int insertList(@Param("list")List<TrueOrFalse> list);

    List<TrueOrFalse> selectByAll(TrueOrFalse trueOrFalse);

    int deleteByPrimaryKey(Integer id);

    int insert(TrueOrFalse record);

    int insertSelective(TrueOrFalse record);

    TrueOrFalse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TrueOrFalse record);

    int updateByPrimaryKey(TrueOrFalse record);

    List<Integer> selectIdByBankId(@Param("bankId")Integer bankId);

}
